package org.elanfox.intellicommunity.biz.vo;

import lombok.Data;
import org.elanfox.intellicommunity.biz.entity.resident.StructurePO;

/**
 * 人数统计Vo
 *
 * @author loutianxi
 * @date 2020-03-14
 */
@Data
public class UserCountVo {
    /**
     * 地图id
     */
    private Integer structureId;
    /**
     * 地图名称
     */
    private String name;
    /**
     * 当前人数
     */
    private Integer count;

    private String type;

    public UserCountVo() {
    }

    public UserCountVo(StructurePO obj) {
        this.structureId = obj.getStructureId();
        this.name = obj.getName();
        this.type = obj.getType();
    }
}
